<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
	<div>
		<div>
			<img src="/WebCopias/assets/image/logo.png" alt="WebCópias" style="float: left;margin-left: 15px;"/>
			<h:form id="formMenuList">
				<p:menuButton id="userMenu" value="#{login.loggedUser.name}"
					styleClass="customUserMenu">
					<p:menuitem value="Editar conta" icon="ui-icon-wrench"
						oncomplete="updateAccount.show()" />
					<p:separator />
					<p:menuitem value="Sair" icon="ui-icon-arrowreturnthick-1-n"
						url="#{facesContext.externalContext.requestContextPath}/j_spring_security_logout" />
				</p:menuButton>
			</h:form>
		</div>
	</div>
</h:body>
</html>